import React from 'react';
import {
    Button,
    Text,
    View,
    Image,
    StyleSheet,
    Dimensions,
    StatusBar,
    ActivityIndicator,
    FlatList,
    ScrollView,
    RefreshControl,
    Animated
} from 'react-native';
import  Swiper  from 'react-native-swiper';
import { MarqueeHorizontal,MarqueeVertical } from 'react-native-marquee-ab';
import styles from './styles';
const { width, height } = Dimensions.get('window')
export default class UserScreen extends React.Component {
    constructor(props) {
        super(props);
        this.state = {
            refreshing: false,
        };
    }
    static navigationOptions = {
        headerTitle: '彩帝详细',
        //header: null,  //隐藏顶部导航栏
        //tabBarVisible: false, // 隐藏底部导航栏
        headerBackTitle:'返回',
        headerRight:<View/>,
        headerStyle: {
            backgroundColor: '#de3c53',
            paddingTop:18,
            borderBottomWidth: 0,
            elevation: 0,
            ////去掉下面的分割线 (兼容ios与android)
        },
        headerTintColor: '#ffffff',
        headerTitleStyle: {
            flex:1,
            alignSelf:'center',
            textAlign:'center'

        },
        headerLeftContainerStyle: {
            paddingLeft: 0
        },
        headerRightContainerStyle: {
            paddingRight: 0
        },
    }
    render() {
        const { navigation } = this.props;
        const user_id = navigation.getParam('user_id', 'NO-ID');
        const otherParam = navigation.getParam('otherParam', 'some default value');

        return (
                <View style={styles.container}>

                    <Text>{user_id}</Text>



                </View>
        )
    }
}

